A You can tell the state of MMM based on the heapType member in your current
Zone. The following function shows how this is done:
#include/* * HaveNewMemoryManager returns true if the new Memory Manager is present */ Boolean HaveNewMemoryManager ( void ) { THz appZone; appZone = GetZone (); return ((appZone->heapType & kNewStyleHeap) != 0); }
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help